@extends('app')
@section('content')
    <h1>撰写新文章</h1>
    {!! Form::open(['url'=>'/pages']) !!}
        <div class="form-group">
        {!! Form::label('title') !!}
        {!! Form::text('title',null,['class'=>'form-control']) !!}

        </div>
    <!---  Field --->
    <div class="form-group">
        {!! Form::label('content', 'content:') !!}
        {!! Form::text('content', null, ['class' => 'form-control']) !!}
    </div>
    {!! Form::submit('发表文章',['class'=>'btn btn-primary form-control']) !!}
    {!! Form::close() !!}

@stop